package cn.dbqn.dao;

import cn.dbqn.entity.Supplierinfo;

import java.util.List;

import cn.dbqn.entity.Type;
import cn.dbqn.entity.View_gsxx;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("supplierinfoMapper")
@Mapper
public interface SupplierinfoMapper {
    //查询所有供商
    List<View_gsxx> findAll();
    //查询单个供商
    View_gsxx gsxx(@Param("sno")Integer sno);
    //新增供商信息
    int addGsxx(Supplierinfo supplierinfo);
    //删除供商信息
    int deleteGsxx(@Param("sno")Integer sno);
    //修改供商信息
    int updateGsxx(Supplierinfo supplierinfo);
}